/*
	Copyright 2012 J. Gohlke
	Licensed under the Apache License, Version 2.0 (the
	"License"); you may not use this file except in
	compliance with the License. You may obtain a copy
	of the License at

	http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in
	writing, software distributed under the License is
	distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
	OR CONDITIONS OF ANY KIND, either express or
	implied. See the License for the specific language
	governing permissions and limitations under the
	License
 */
package com.gohlke.lwo.textures;

import com.gohlke.lwo.params.Vector3dParam;

/**
 *
 * @author David Wise
 */
public abstract class TextureMap {
    public Vector3dParam size = new Vector3dParam(1f,1f,1f);
    public Vector3dParam center = new Vector3dParam();
    /*
     * vector of heading, pitch and bank in radians.
     */
    public Vector3dParam rotate = new Vector3dParam();
    /*
     * Texture effects may fall off with distance from the texture center.
     * The vector represents a rate per unit distance along each axis.
     */
    public Vector3dParam falloff;
    public int fallType;
    /*
     * Reference Object
     * 
     * Specifies a reference object for the texture. 
     * The reference object is given by name, and the scene position, 
     * rotation and scale of the object are combined with the previous 
     * chunks to compute the texture mapping. If the object name is "(none)"
     * or OREF is missing, no reference object is used.
     */
    public String refObjects;
    /*
     * Coordinate System
     * 
     * The coordinate system can be 0 for object coordinates 
     * (the default if the chunk is missing) or 1 for world coordinates.
     */
    public int coordSys = 0;

}
